package sepe.chenli.unit4.Ball2;

public class Ball2 {
    String xm;
    String r;
    String cz;
    String zl;
    String shrq;
    public final String nbtc = "空气";
    public final String Shape = "圆";

    public Ball2(String xm, String r, String cz, String zl, String shrq, String nbtc, String Shape) {
        this.xm = xm;
        this.r = r;
        this.cz = cz;
        this.zl = zl;
        this.shrq = shrq;
    }

    public Ball2(String rs, String ydrs, String zb) {
        this.xm = xm;
        this.r = r;
        this.cz = cz;
        this.zl = zl;
        this.shrq = shrq;
    }

    public Ball2() {

    }

    public String play() {
        return "每天打会球，健康一辈子";
    }

    String zwjs() {
        return "我是" + xm + "," + "我的直径是" + r + "," + "我的材质是" + cz + "," + "我的重量是" + zl + "," + "我适合" + shrq + "," +
                "我的内部填充" + nbtc + "," + "我是" + Shape;
    }
}